import { Component } from '@angular/core';
import { ContentIndexComponent } from './content-index/content-index.component';
declare let $: any;
@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = 'app works!';
  ngOnInit() {
    let winH = $(window).height();
    $('#main_content').css({"min-height" : winH - $('nav').height() - $('footer').height()});
  }

  ngOnChanges() {
  }
}
